package com.org.bean.setting;

import java.util.Date;

import com.org.bean.system.TunnelInfo;

public class EquipmentInfo {
	private Integer equipmentId;
	private String equipmentName;
	private Integer number;
	private Date inputTime;
	private int usePeriod;
	private String maintenancePlan;
	private Integer personId;
	private Integer tunnelId;
	
	private PersonInfo personInfo;
	private TunnelInfo tunnelInfo;

	public Integer getEquipmentId() {
		return equipmentId;
	}

	public PersonInfo getPersonInfo() {
		return personInfo;
	}

	public void setPersonInfo(PersonInfo personInfo) {
		this.personInfo = personInfo;
	}

	public void setEquipmentId(Integer equipmentId) {
		this.equipmentId = equipmentId;
	}

	public String getEquipmentName() {
		return equipmentName;
	}

	public void setEquipmentName(String equipmentName) {
		this.equipmentName = equipmentName;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Date getInputTime() {
		return inputTime;
	}

	public void setInputTime(Date inputTime) {
		this.inputTime = inputTime;
	}

	public int getUsePeriod() {
		return usePeriod;
	}

	public void setUsePeriod(int usePeriod) {
		this.usePeriod = usePeriod;
	}

	public Integer getTunnelId() {
		return tunnelId;
	}

	public void setTunnelId(Integer tunnelId) {
		this.tunnelId = tunnelId;
	}

	public String getMaintenancePlan() {
		return maintenancePlan;
	}

	public void setMaintenancePlan(String maintenancePlan) {
		this.maintenancePlan = maintenancePlan;
	}

	public Integer getPersonId() {
		return personId;
	}

	public void setPersonId(Integer personId) {
		this.personId = personId;
	}

	@Override
	public String toString() {
		return "EquipmentInfo [equipmentId=" + equipmentId + ", equipmentName="
				+ equipmentName + ", number=" + number + ", inputTime="
				+ inputTime + ", usePeriod=" + usePeriod + ", maintenancePlan="
				+ maintenancePlan + ", personId=" + personId + ", tunnelId="
				+ tunnelId + ", personInfo=" + personInfo + "]";
	}

	public TunnelInfo getTunnelInfo() {
		return tunnelInfo;
	}

	public void setTunnelInfo(TunnelInfo tunnelInfo) {
		this.tunnelInfo = tunnelInfo;
	}
}